package com.ibeeking.found.msg.rest.service;

import com.ibeeking.found.msg.service.common.bo.WxMpAutoMessageBO;
import com.ibeeking.found.msg.service.common.dos.WxMpAutoMessageDO;
import com.ibeeking.found.msg.service.common.param.WxMpAutoMessageParam;
import com.ibeeking.found.msg.service.common.query.WxMpAutoMessageQuery;
import com.ibeeking.found.msg.service.common.query.WxMpAutoMessagePageQuery;
import com.ibeeking.found.msg.service.common.vo.WxMpAutoMessageVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * IWxMpAutoMessageService
 *
 * @Author ibeeking
 * @Date 2021-02-05 19:11
 */
@Deprecated
public interface IWxMpAutoMessageService extends IService<WxMpAutoMessageDO> {

    /***
     * 查询列表
     */
    List<WxMpAutoMessageVO> list(WxMpAutoMessageQuery query);

    /***
     * 分页查询
     */
    Page<WxMpAutoMessageVO> pageList(WxMpAutoMessagePageQuery pageQuery , int index);

    /***
     * 新增
     */
    Boolean add(WxMpAutoMessageParam param);

    /***
     * 修改
     */
    Boolean modify(WxMpAutoMessageParam param);

    /***
     * 通过id查询
     */
    WxMpAutoMessageVO view(Long id);

    /***
     * 修改状态
     */
    Boolean changeStatus(Long id, Integer status);

    /***
     * 通过id删除
     */
    Boolean del(Long id);

    List<WxMpAutoMessageBO> queryByCondition(WxMpAutoMessageDO messageDO);
}
